Airwallex\Gateways\Card D

Total Complexity 138
Dependencies 18
Dependents 9
Total lines 749
Lines of code 617
Logical lines of code 289
Comment lines 35
Methods 31
Properties 10

Methods 31

Method Rating Maintainability Complexity Lines of code
payment_fields()
C
38 26 63
process_payment()
B
35 18 78
getCardLogos()
A
52 9 23
deletePaymentMethodAction()
A
52 9 22
__construct()
A
53 8 20
get_form_fields()
A
41 5 65
output()
S
44 4 45
enqueueScriptsForEmbeddedCard()
S
49 5 29
savedTokens()
S
51 5 24
change_subscription_payment_method()
S
53 4 23
syncSaveCards()
S
53 4 22
getPaymentConsentIdsInDB()
S
54 4 21
capture()
S
56 4 18
add_payment_method()
S
56 3 18
get_icon()
S
60 3 13
getCustomerClientSecret()
S
54 2 23
getTokens()
S
58 2 17
formatCardType()
S
56 2 17
has_fields()
S
70 3 6
getMetaData()
S
66 3 8
deletePaymentMethod()
S
71 2 6
isContainSubscription()
S
72 2 6
is_captured()
S
64 2 10
getDescriptorSetting()
S
73 2 4
saveAwxPaymentConsentDetail()
S
62 1 11
registerHooks()
S
60 1 11
enqueueScriptForRedirectCard()
S
81 1 3
enqueueAdminScripts()
S
91 1 2
is_capture_immediately()
S
78 1 3
is_save_card_enabled()
S
78 1 3
is_skip_cvc_enabled()
S
78 1 3